<extend name="Base/common" />
<block name="style">
	<style>
		body{background: #FFFFFF;}
		.block-div{padding:0 0.4rem;}
		.Form-group{display: block;border-bottom:1px solid #d6d6d6;height: 2.5rem;line-height: 2.5rem;vertical-align: middle;}
		.Form-label{float: left;margin: 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width: 9.5rem;}
		.Form-right{float: right;}
	</style>
</block>
<block name="body">
	<notempty name="myinform">
		<foreach name="myinform" item="v">
			<div class="block-div">
				<label class="Form-group">
					<div class="Form-label" onclick="show(this)"><span>{$v.content}</span></div>
					<span class="Form-right">{$v.time|date='Y-m-d',###}</span>
				</label>
			</div>
		</foreach>
		<else/>
			<div class="text-align-center mt-20">暂无数据！！！</div>
	</notempty>
		<!--<div class="block-div" >
			<label class="Form-group">
				<div class="Form-label"><span>已经取消【是的范德萨发放】123124的报名</span></div>
				<span class="Form-right">2015-05-17</span>
			</label>
		</div>
		<div class="block-div">
			<label class="Form-group">
				<div class="Form-label"><span>已经取消【是的范德萨发放】的报名</span></div>
				<span class="Form-right">2015-05-17</span>
			</label>
		</div>-->
</block>
<block name="script">
	<script>
		$(document).ready(function(){
			$("#info_li").addClass("active");//左边的菜单栏亮起来
		});
		function show(o){
			var white_space = $(o).css('white-space');
			if(white_space == 'nowrap'){
				$(o).css('white-space','normal');
			}else{
				$(o).css('white-space','nowrap')
			}
		}
	</script>
</block>
